package org.jeecg.modules.company.facade.impl;



import org.springframework.stereotype.Service;


import org.jeecg.base.facade.impl.IFacadeImpl;
import org.jeecg.modules.company.entity.QscApply;
import org.jeecg.modules.company.facade.IQscApplyFacade;
import org.jeecg.modules.company.service.IQscApplyService;
import org.jeecg.modules.company.vo.QscApplyVo;
import org.springframework.beans.BeanUtils;

import org.springframework.beans.factory.annotation.Autowired;


/**
 * @Description: 质维码申请
 * @Author: zj
 * @Date:   2020-05-26
 * @Version: V1.0
 */


@Service
public class QscApplyFacadeImpl extends IFacadeImpl<QscApplyVo, QscApply, IQscApplyService>  implements IQscApplyFacade<QscApplyVo, QscApply> {
        @Autowired
        private IQscApplyService qscApplyService;


         @Override
         public QscApply po2Vo(QscApplyVo vo) {
                QscApply po = new QscApply();
                if(vo==null){
                   return null;
                }
                BeanUtils.copyProperties(vo, po);
                return po;
         }

         @Override
         public QscApplyVo vo2Po(QscApply po) {
                QscApplyVo vo = new QscApplyVo();
                 if(po==null){
                     return null;
                  }
                BeanUtils.copyProperties(po, vo);
                return vo;
         }

}
